<?php
/**
 * Introduction: 用户授权表 member_group_access
 * @author: 杨陈鹏
 * @date: 2016/4/05 16:04
 * @email: yangchenpeng@cdlinglu.com
 */

namespace Common\Model;


use Think\Model;

class MemberGroupAccessModel extends Model
{
    //定义数据库连接信息
    protected $connection;
    //定义模型字段
    protected $fileds = ['uid', 'group_id'];
    //定义表名
    protected $tableName = 'member_group_access';

    /**
     * 初始化
     */
    public function _initialize()
    {
        $this->connection = C('Databaese');
    }
}